<?php if(!defined('HOST'))die('not access');?>
<div class="blank10"></div>
<div id="veiw_{rand}">
<!--start-->
	
	
<style>
row,column,panel{display:block;}
	
	
	.panel-heading-h3{
	margin:0;
    color: unset;
    font-size: 18px;
    font-weight: 700;
    letter-spacing:1px;
    }
    /*16:10=62.5%*/
    .echarts-body{position:relative;padding:62.5% 0 0 0}
    .echarts-body>echarts{display:block;position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;}
</style>


<row class="row">
  	<column class="col-md-6">
	  	<panel class="panel panel-info">
	  		<header class="panel-heading clearfix">
	  			<h3 class="pull-left panel-heading-h3">项目负责人业务统计(饼图)</h3>
	  		</header>
            <div style="padding:10px 10px">
                <span>开始时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_sdate" id="sdate" style="width:150px"></span>
                &nbsp;<span>结束时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_edate" id="edate" style="width:150px"></span>&nbsp;
<!--                <span>-->
<!--                    <select name="" id="">-->
<!--                        <option value="1">测试1</option>-->
<!--                        <option value="2">测试2</option>-->
<!--                    </select>-->
<!--                </span>-->
                <span>
                     <button type="button" class="btn_search" onclick="search()">
                        <i class="icon-search"></i>&nbsp;查询
                    </button>
                </span>
            </div>
		  	<div class="panel-body echarts-body">
                <echarts id="pie-001"></echarts>
		  	</div>
		</panel>
  	</column>
  	<column class="col-md-6">
	  	<panel class="panel panel-info">
	  		<header class="panel-heading clearfix">
	  			<h3 class="pull-left panel-heading-h3">采购分类统计(柱状图)</h3>
	  		</header>
            <div style="padding:10px 10px">
                <span>开始时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_sdate" id="sdateBar" style="width:150px"></span>
                &nbsp;<span>结束时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_edate" id="edateBar" style="width:150px"></span>&nbsp;
                <!--                <span>-->
                <!--                    <select name="" id="">-->
                <!--                        <option value="1">测试1</option>-->
                <!--                        <option value="2">测试2</option>-->
                <!--                    </select>-->
                <!--                </span>-->
                <span>
                     <button type="button" class="btn_search" onclick="searchBar()">
                        <i class="icon-search"></i>&nbsp;查询
                    </button>
                </span>
            </div>
		  	<div class="panel-body echarts-body">
		    	<echarts id="bar-001"></echarts>
		  	</div>
		</panel>
  	</column> 
</row>

<row class="row">
  	<column class="col-md-6">
	  	<panel class="panel panel-info">
	  		<header class="panel-heading clearfix">
	  			<h3 class="pull-left panel-heading-h3">代理机构执行统计</h3>
	  		</header>
            <div style="padding:10px 10px">
                <span>开始时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_sdate" id="sdatePie" style="width:150px"></span>
                &nbsp;<span>结束时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_edate" id="edatePie" style="width:150px"></span>&nbsp;
                <!--                <span>-->
                <!--                    <select name="" id="">-->
                <!--                        <option value="1">测试1</option>-->
                <!--                        <option value="2">测试2</option>-->
                <!--                    </select>-->
                <!--                </span>-->
                <span>
                     <button type="button" class="btn_search" onclick="searchPie()">
                        <i class="icon-search"></i>&nbsp;查询
                    </button>
                </span>
            </div>
		  	<div class="panel-body echarts-body">
		    	<echarts id="pie-002"></echarts>
		  	</div>
		</panel>
  	</column>
  	<column class="col-md-6">
	  	<panel class="panel panel-info">
	  		<header class="panel-heading clearfix">
	  			<h3 class="pull-left panel-heading-h3">采购业务统计</h3>
	  		</header>
            <div style="padding:10px 10px">
                <span>开始时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_sdate" id="sdateBar1" style="width:150px"></span>
                &nbsp;<span>结束时间&nbsp;<input onclick="js.datechange(this,'date')" value="" class="inputs datesss" inputtype="date" readonly="" name="search_edate" id="edateBar1" style="width:150px"></span>&nbsp;
                <!--                <span>-->
                <!--                    <select name="" id="">-->
                <!--                        <option value="1">测试1</option>-->
                <!--                        <option value="2">测试2</option>-->
                <!--                    </select>-->
                <!--                </span>-->
                <span>
                     <button type="button" class="btn_search" onclick="searchBar1()">
                        <i class="icon-search"></i>&nbsp;查询
                    </button>
                </span>
            </div>
		  	<div class="panel-body echarts-body">
		    	<echarts id="bar-002"></echarts>
		  	</div>
<!--	  		<footer class="panel-footer">截止到 --><?php //echo date('Y-m-d', time()); ?><!--</footer>-->
		</panel>
  	</column>
</row>

<!--end-->
</div>

<script src="js/echarts.min.js"></script>
<script src="webmain/report/main/pie_001.js"></script>
<script src="webmain/report/main/pie_002.js"></script>
<script src="webmain/report/main/bar_001.js"></script>
<script src="webmain/report/main/bar_002.js"></script>
